import request from "@/utils/request";

//获取课本
export function getGradeEdition(data) {
  return request({
    url: `/vocabulary/getGradeEdition`,
    method: "post",
    data,
  });
}

// 获取试题
export function findWordPronunciationVo(data) {
  return request({
    url: `/vocabulary/findWordPronunciationVo`,
    method: "post",
    data,
  });
}

// 单个题目校验
export function checkVocabularyAnswer(data) {
  return request({
    url: `/vocabulary/checkVocabularyAnswer`,
    method: "post",
    data,
  });
}

// 整体题目校验
export function checkAll(data) {
  return request({
    url: `/vocabulary/checkAll`,
    method: "post",
    data,
  });
}